import  Rep from '../../../components/repertory/repertory.vue'
import repadmin from '@/router/inventory/repadmin'
import repinitout from '@/router/inventory/repinitout'
import reo from '@/router/inventory/repinitoutadmin'
import repunit  from '@/router/inventory/repinitoutunit'
import repinitreg from '@/router/inventory/repadmininitout' //出入库管理
import reponline from '@/router/inventory/reponline'

export default [
  {
    path: 'rep',
    name: 'rep',
    component: Rep,
    children :[
        {
          name: 'repattr',
          path: 'repattr',
          component: resolve => require(['@/components/repertory/inventory/repseting/repattr'], resolve)
        },
        {
          name: 'repinitset',
          path: 'repinitset',
          component: resolve => require(['@/components/repertory/inventory/repseting/repinitset'], resolve)
        },
        {
          name: 'repi',
          path: 'repi',
          component: resolve => require(['@/components/repertory/inventory/repseting/repI'], resolve)
        },
        {
          name: 'repii',
          path: 'repii',
          component: resolve => require(['@/components/repertory/inventory/repseting/repII'], resolve)
        },
        {
          name: 'repiii',
          path: 'repiii',
          component: resolve => require(['@/components/repertory/inventory/repseting/repIII'], resolve)
        },
        ...repadmin,
        ...repinitout,
        ...reo,
        ...repunit,
        ...repinitreg,
        ...reponline
    ]
  }
]
